package com.aitaoxue.palx.base;

import android.view.View;

public class BaseTabFragment extends BaseFragment {

	public static interface TabChangeListener {
		public boolean isCurrent(BaseTabFragment fragment);
	}
	
	private TabChangeListener mListener;
	
	public BaseTabFragment() {
	}
	
	public final void setListener(TabChangeListener listener){
		mListener=listener;
	}
	
	protected final boolean isCurrent(){
		return mListener.isCurrent(this);
	}

	@Override
	public void onClick(View arg0) {
		// TODO Auto-generated method stub

	}

	@Override
	public void initView(View view) {
		// TODO Auto-generated method stub

	}

	@Override
	public void initData() {
		// TODO Auto-generated method stub

	}

}
